﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Windows.Forms;

namespace HGManager
{
    class CommonConnect
    {
        private SqlConnection conn;
        public SqlConnection Connected()
        {
            string conect = SystemInformation.UserDomainName.ToString();
            string source = @"Server = THANHLINH;
                                                 Integrated Security = True;
                                                 Database = HG_Database";
            conn = new SqlConnection(source);
            conn.Open();
            return conn;
        }
    }
}
